﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTOTemplatedGenerator.ViewModels;

namespace DTOTemplatedGenerator.Models
{
    public class PropTemplateModel: BaseVM
    {
        private string _typesMatch;
        private string _text;
        private string _category;

		public PropTemplateModel()
		{
			_category = "Other";
		}

        public string Name { get; set; }

        public string Text
        {
            get { return _text; }
            set
            {
				if (_text != value)
				{
					_text = value;
					OnPropertyChanged("Text");
				}
            }
        }
        
        public string TypesMatch
        {
            get { return _typesMatch; }
            set
            {
				if (_typesMatch != value)
				{
					_typesMatch = value;
					OnPropertyChanged("TypesMatch");
				}
            }
        }

        public string Category
        {
            get { return _category; }
            set
            {
				if (_category != value)
				{
					_category = value;
					OnPropertyChanged("Category");
				}
            }
        }

        

    }
}
